Example
<script type="text/javascript">
    alert("Always call your girlfriend 'young lady' means...");
    alert("You are good at safing your relationship.");
</script>
<script></script> and an attribute to indicate that the language we’re writing is JavaScript.

<!DOCTYPE html>
<html>
<head>
    <title>JavaScript</title>
    <script type="text/javascript">
        alert("Always call your girlfriend 'young lady' means...");
        alert("You are good at safing your relationship.");
    </script>
</head>
</html>
Feel free to comment and share your ideas below to learn together!
If you guys find this article helpful, please kindly do the writer a favor — LIKE this article.